package com.ruoyi.xp.supply.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 虾皮仓库库存明细对象 t_xp_supply_warehouse_goods
 * 
 * @author chdx
 * @date 2022-12-29
 */
public class SupplyWarehouseGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表的id */
    private String supplyWarehouseGoodsId;

    /** 仓库id */
    private Long warehouseId;

    /** 货物SKU */
    @Excel(name = "货物SKU")
    private Long goodsSkuId;

    /** 货物id */
    private Long goodsId;

    /** 货物编号 */
    @Excel(name = "货物编号")
    private String goodsNum;

    /** 货物类型 */
    @Excel(name = "货物类型")
    private String goodsClass;

    /** 货物名称 */
    @Excel(name = "货物名称")
    private String goodsSkuName;

    /** 货物规格 */
    @Excel(name = "货物规格")
    private String goodsSkuSubName;

    /** 采购单价 */
    @Excel(name = "采购单价")
    private BigDecimal purchasePrice;

    /** 库存 */
    @Excel(name = "库存")
    private Long stock;

    /** 可用库存 */
    @Excel(name = "可用库存")
    private Long availableStock;

    /** 锁定库存 */
    @Excel(name = "锁定库存")
    private Long lockedStock;

    /** 创建时间 */
    private Date createDate;

    /** 最后修改时间 */
    private Date lastUpdateDate;

    /** 最后修改人 */
    private Long lastUpdateBy;

    public void setSupplyWarehouseGoodsId(String supplyWarehouseGoodsId) 
    {
        this.supplyWarehouseGoodsId = supplyWarehouseGoodsId;
    }

    public String getSupplyWarehouseGoodsId() 
    {
        return supplyWarehouseGoodsId;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setGoodsSkuId(Long goodsSkuId) 
    {
        this.goodsSkuId = goodsSkuId;
    }

    public Long getGoodsSkuId() 
    {
        return goodsSkuId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsNum(String goodsNum) 
    {
        this.goodsNum = goodsNum;
    }

    public String getGoodsNum() 
    {
        return goodsNum;
    }
    public void setGoodsClass(String goodsClass) 
    {
        this.goodsClass = goodsClass;
    }

    public String getGoodsClass() 
    {
        return goodsClass;
    }
    public void setGoodsSkuName(String goodsSkuName) 
    {
        this.goodsSkuName = goodsSkuName;
    }

    public String getGoodsSkuName() 
    {
        return goodsSkuName;
    }
    public void setGoodsSkuSubName(String goodsSkuSubName) 
    {
        this.goodsSkuSubName = goodsSkuSubName;
    }

    public String getGoodsSkuSubName() 
    {
        return goodsSkuSubName;
    }
    public void setPurchasePrice(BigDecimal purchasePrice) 
    {
        this.purchasePrice = purchasePrice;
    }

    public BigDecimal getPurchasePrice() 
    {
        return purchasePrice;
    }
    public void setStock(Long stock) 
    {
        this.stock = stock;
    }

    public Long getStock() 
    {
        return stock;
    }
    public void setAvailableStock(Long availableStock) 
    {
        this.availableStock = availableStock;
    }

    public Long getAvailableStock() 
    {
        return availableStock;
    }
    public void setLockedStock(Long lockedStock) 
    {
        this.lockedStock = lockedStock;
    }

    public Long getLockedStock() 
    {
        return lockedStock;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setLastUpdateDate(Date lastUpdateDate) 
    {
        this.lastUpdateDate = lastUpdateDate;
    }

    public Date getLastUpdateDate() 
    {
        return lastUpdateDate;
    }
    public void setLastUpdateBy(Long lastUpdateBy) 
    {
        this.lastUpdateBy = lastUpdateBy;
    }

    public Long getLastUpdateBy() 
    {
        return lastUpdateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplyWarehouseGoodsId", getSupplyWarehouseGoodsId())
            .append("warehouseId", getWarehouseId())
            .append("goodsSkuId", getGoodsSkuId())
            .append("goodsId", getGoodsId())
            .append("goodsNum", getGoodsNum())
            .append("goodsClass", getGoodsClass())
            .append("goodsSkuName", getGoodsSkuName())
            .append("goodsSkuSubName", getGoodsSkuSubName())
            .append("purchasePrice", getPurchasePrice())
            .append("stock", getStock())
            .append("availableStock", getAvailableStock())
            .append("lockedStock", getLockedStock())
            .append("createDate", getCreateDate())
            .append("createBy", getCreateBy())
            .append("lastUpdateDate", getLastUpdateDate())
            .append("lastUpdateBy", getLastUpdateBy())
            .toString();
    }
}
